﻿<!DOCTYPE html>
<html>
<head>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <title>月亮湾</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        html {
            font-size: 62.5%;
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }

        body {
        }

        .bg {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }

            .bg span {
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                color: transparent;
                background-image: url(images/bg.png);
                background-size: cover;
                background-position: 50% 50%;
                background-repeat: no-repeat;
                z-index: 0;
            }

        .progress {
            width: 100%;
            position: relative;
        }

            .progress img {
                width: 100%;
            }

        .container {
            padding: 15px;
        }

        .caption {
            height: 40px;
            overflow: hidden;
            position: relative;
        }

            .caption .listen {
                position: absolute;
                right: 0;
                top: 0;
                width: 40px;
                height: 40px;
                background: url(images/listen.png) 0 0 no-repeat;
                background-size: 40px 40px;
                cursor: pointer;
            }

                .caption .listen.close {
                    background-image: url(images/listen_close.png);
                }

            .caption .title {
                line-height: 30px;
                margin-top: 5px;
                padding: 0 10px;
                font-size: 1.625rem;
                font-weight: bold;
                color: #fff;
                border-left: 4px solid #f00;
            }

        .imgbox {
            width: 100%;
            position: relative;
            margin: 15px 0 30px;
            height: 220px;
        }

        .box-item {
            width: 100%;
            height: 100%;
            border: 2px solid #fff;
            border-radius: 6px;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            position: absolute;
            opacity: 0.6;
        }

        .imgbox .box-item:nth-child(1) {
            left: -10px;
            top: 0;
        }

        .imgbox .box-item:nth-child(2) {
            left: -5px;
            top: 5px;
        }

        .imgbox .box-item:nth-child(3) {
            left: 0;
            top: 10px;
        }

        .imgbox .box-item:nth-child(4) {
            left: 5px;
            top: 15px;
        }

        .imgbox .box-item:last-child {
            opacity: 1;
        }

        .imgbox img {
            width: 100%;
            height: 100%;
            border-radius: 6px;
        }

        .produce {
            position: relative;
            line-height: 1.5;
            font-size: 1.4rem;
            color: #D4D2FF;
            padding: 10px;
        }

            .produce p {
                white-space: pre-wrap;
            }

            .produce .border-left-top {
                position: absolute;
                width: 60px;
                height: 60px;
                top: 0;
                left: -2px;
                background: url(images/border-left-top.png) 0 0 no-repeat;
            }

            .produce .border-right-bottom {
                position: absolute;
                width: 60px;
                height: 60px;
                right: 0;
                bottom: -2px;
                background: url(images/border-right-bottom.png) 0 0 no-repeat;
            }

        @media screen and (min-width: 375px) {
            .imgbox {
                height: 260px;
            }
        }

        @media screen and (min-width: 414px) {
            .imgbox {
                height: 290px;
            }
        }
    </style>
</head>
<body>
    <!--<audio src="../audios/yinyue.mp3" autoplay="autoplay" loop="loop"></audio>-->
    <div class="bg">
        <span></span>
    </div>
    <div class="container">
        <div class="progress">
            <img src="images/step2.png" alt="">
        </div>
        <div class="caption">
            <div class="listen"></div>
            <div class="title">月亮湾</div>
        </div>
        <div class="imgbox">
            <div class="box-item">
                <img src="images/yl.png" alt="">
            </div>
            <div class="box-item">
                <img src="images/yl.png" alt="">
            </div>
            <div class="box-item">
                <img src="images/yl.png" alt="">
            </div>
            <div class="box-item">
                <img src="images/yl.png" alt="">
            </div>
        </div>
        <div class="produce">
            <span class="border-left-top"></span>
            <span class="border-right-bottom"></span>
            <p>        月亮湾位于卧龙湾上游约1公里，是卧龙湾河曲的延伸部分，美丽静谧的月亮湾会随喀纳斯湖水变化而变化，确是嵌在喀纳斯河上的一颗明珠。喀纳斯河床在这里形成几个由反“S”状弯河曲组成的半月牙河湾，被称之为“月亮湾”。月亮湾迂回蜿蜒于河谷间，水面平波如镜，在上下河湾内发育两个酷似脚印的小心滩，很是奇特，被当地人称为“神仙脚印”。关于两只巨大的脚印，传说是当年西海龙王收复河怪时所留下的脚印，目的是用脚踩住河怪的精脉，让它永世不得翻身；另一传说是讲嫦娥奔月时留下的足迹；还有传说称这是当年一代天骄成吉思汗在追击敌人时健步如风留下的脚印。无论哪个传说都给喀纳斯又增添了一抹神秘的色彩。</p>
            <p>        月亮湾是喀纳斯最著名的景点。喀纳斯湖在这划了一道优美的弧线，犹如弯弯的月亮落入这林木葱茏的峡谷，令无数游人为之陶醉。</p>
        </div>
    </div>
    <script src="../javaScripts/zepto.min.js"></script>
    <script type="text/javascript">
        var music = {
            play: function () {
                if (!music.player) {
                    music.player = new Audio();
                    music.player.src = '../audios/yinyue.mp3';
                    music.player.loop = true;
                }
                music.player && music.player.play();
            },
            pause: function () {
                if (music.player) {
                    music.player.pause();
                }
            }
        }
        $(function () {
            music.play();
            $('.listen').on('click', function () {
                var $this = $(this);
                if ($this.hasClass('close')) {
                    music.play();
                    $this.removeClass('close');
                }
                else {
                    music.pause();
                    $this.addClass('close');
                }
            });
        });
    </script>
</body>
</html>